home *** CD-ROM | disk | FTP | other *** search
/ The Business Master (3rd Edition) / The Business Master (3rd Edition).iso / files / wordsing / folder / wp5.def < prev    next >
Encoding:
Text File  |  1989-01-20  |  8.0 KB  |  287 lines

  1. ;-----------------------------------------------------------------------;
  2. ;                                    ;
  3. ;    LOGIMENU File definition for WordPerfect 5.0             ;
  4. ;    Copyright (C) 1987, 1988 LOGITECH, Inc.                ;
  5. ;                                    ;
  6. ;-----------------------------------------------------------------------;
  7. BEGIN lfbtn,mdbtn,rtbtn,leftm,rightm,upm,downm,40,40
  8.  
  9. CHORDS ChordMenu,ChordMenu,ChordMenu,ChordMenu
  10.  
  11. ; Left Button: CR
  12. ;
  13. lfbtn: Type ENTER
  14. ;
  15. ; Middle Button executes F2 if in the Search Mode, 
  16. ; otherwise shows the menu for function keys
  17. ; NOTE: with 2-button mouse, "mdbtn" means both buttons
  18. ;
  19. mdbtn: MATCH 25,3,," Srch:",Fsearch,mdmenu
  20.  
  21. ;
  22. ; Right Button works as F1 - CANCEL
  23. ;
  24. rtbtn: EXECUTE cancel 
  25.  
  26. mdmenu:    POPUP 1,20,NORMAL
  27.  
  28.       TEXT "┌───────────────────┬─────────────────┬────────────────┐"
  29.       TEXT "│F1 Cancel          │F2 Search ->     │F3 Help         │"
  30.           TEXT "│@  Thesaurus       │@  Replace       │@  Reveal Codes │"
  31.           TEXT "│  Setup           │  Search <-     │  Switch       │"    
  32.       TEXT "│¢  Goto DOS        │¢  Spell         │¢  Screen       │"
  33.       TEXT "├───────────────────┼─────────────────┼────────────────┤"
  34.       TEXT "│F4 ->Indent        │F5 List Files    │F6 Bold         │"
  35.           TEXT "│@  Block           │@  Mark Text     │@  Flush Right  │"
  36.           TEXT "│  ->Indent<-      │  Date/Outline  │  Center       │"    
  37.       TEXT "│¢  Move            │¢  Text In/Out   │¢  Tab Align    │"
  38.       TEXT "├───────────────────┼─────────────────┼────────────────┤"
  39.       TEXT "│F7 Exit            │F8 Underline     │F9 Merge R      │"
  40.           TEXT "│@  Math/Columns    │@  Style         │@  Graphics     │"
  41.           TEXT "│  Print           │  Format        │  Merge Codes  │"
  42.           TEXT "│¢  Footnote        │¢  Font          │¢  Merge/Sort   │"
  43.       TEXT "├───────────────────┼─────────────────┼────────────────┤"
  44.       TEXT "│F10 Save           │  GoTo           │ Margin Release │"
  45.           TEXT "│@   Macro          │  Hard Page      │ Soft Hyphen    │"
  46.           TEXT "│   Retrieve       │  Delete to EOL  │ Word Left      │"
  47.       TEXT "│¢   Macro Def      │  Delete to EOP  │ Word Right     │" 
  48.       TEXT "├───────────────────┼─────────────────┼────────────────┤"
  49.       TEXT "│@ ALT+Fnct Key     │ SHFT+Fnct Key  │¢ CTRL+Fnct Key │" 
  50.       TEXT "└───────────────────┴─────────────────┴────────────────┘"
  51.  
  52. ; F1 - F3
  53.       SELECT 2,2,18,cancel
  54.       SELECT 3,2,18,thesaurus
  55.       SELECT 4,2,18,setup
  56.       SELECT 5,2,18,gotodos
  57.  
  58.       SELECT 2,22,17,Fsearch
  59.       SELECT 3,22,17,replace
  60.       SELECT 4,22,17,Bsearch
  61.       SELECT 5,22,17,spell
  62.       
  63.       SELECT 2,40,15,help
  64.       SELECT 3,40,15,recode
  65.       SELECT 4,40,15,switch
  66.       SELECT 5,40,15,screen
  67.  
  68. ; F4 - F6
  69.       SELECT 7,2,18,indent
  70.       SELECT 8,2,18,block
  71.       SELECT 9,2,18,indent2
  72.       SELECT 10,2,18,move
  73.  
  74.       SELECT 7,22,17,lsfile
  75.       SELECT 8,22,17,mktext
  76.       SELECT 9,22,17,date
  77.       SELECT 10,22,17,textio
  78.       
  79.       SELECT 7,40,15,bold
  80.       SELECT 8,40,15,flush
  81.           SELECT 9,40,15,center
  82.       SELECT 10,40,15,tab
  83.  
  84. ; F7 - F9
  85.       SELECT 12,2,18,exit
  86.       SELECT 13,2,18,math
  87.       SELECT 14,2,18,print
  88.       SELECT 15,2,18,footnote
  89.  
  90.       SELECT 12,22,17,underline
  91.       SELECT 13,22,17,style
  92.       SELECT 14,22,17,format
  93.       SELECT 15,22,17,font
  94.       
  95.       SELECT 12,40,15,mergeR
  96.       SELECT 13,40,15,graphics
  97.           SELECT 14,40,15,mergeCd
  98.       SELECT 15,40,15,mgsort
  99.  
  100. ; F10 - Options
  101.       SELECT 17,2,18,save
  102.       SELECT 18,2,18,macro
  103.           SELECT 19,2,18,retrieve
  104.       SELECT 20,2,18,macrodef
  105.      
  106.       SELECT 17,22,17,goto
  107.       SELECT 18,22,17,hardpage
  108.       SELECT 19,22,17,del2eol
  109.       SELECT 20,22,17,del2eop
  110.       
  111.       SELECT 17,40,15,relmargin
  112.       SELECT 18,40,15,softhyphen
  113.       SELECT 19,40,15,wordlft
  114.       SELECT 20,40,15,wordrt
  115.       
  116.     PEND
  117.  
  118.     
  119. ; Number Menu, activated by any mouse chord
  120. ChordMenu: POPUP 10,15,NORMAL
  121.  
  122.            TEXT "╔═══════════════╗"
  123.            TEXT "║  Quick  Menu  ║"
  124.            TEXT "╠═══════════════╣"
  125.            TEXT "║  1    2    3  ║"
  126.            TEXT "║  4    5    6  ║"
  127.            TEXT "║  7    8    9  ║"
  128.            TEXT "║ Up    0    Dn ║"
  129.            TEXT "║   Yes   No    ║"
  130.            TEXT "╚═══════════════╝"
  131.            
  132.            SELECT 4,2,5,one
  133.            SELECT 4,7,5,two
  134.            SELECT 4,12,5,three
  135.            SELECT 5,2,5,four
  136.            SELECT 5,7,5,five
  137.            SELECT 5,12,5,six
  138.            SELECT 6,2,5,seven
  139.            SELECT 6,7,5,eight
  140.            SELECT 6,12,5,nine
  141.            SELECT 7,2,5,mouseu
  142.            SELECT 7,7,5,zero
  143.            SELECT 7,12,5,moused
  144.            SELECT 8,4,5,yes
  145.            SELECT 8,10,5,no
  146.            
  147.            PEND
  148.  
  149. ; To use the Mouse instead of cursor keys in Edit mode
  150. leftm:     MATCH 25,2,,":",mousel,toleft
  151. rightm:    MATCH 25,2,,":",mouser,toright
  152. upm:       MATCH 25,2,,":",mouseu,toup
  153. downm:     MATCH 25,2,,":",moused,todown
  154.  
  155. ; To use the Mouse instead of cursor keys in Typeover mode
  156. toleft:    MATCH 25,1,,"Typeover",mousel,rcleft
  157. toright:   MATCH 25,1,,"Typeover",mouser,rcright
  158. toup:      MATCH 25,1,,"Typeover",mouseu,rcup
  159. todown:    MATCH 25,1,,"Typeover",moused,rcdown
  160.  
  161. ; To use the Mouse instead of cursor keys in Reveal Codes mode
  162. rcleft:    MATCH 25,1,,"Press",mousel,nfleft
  163. rcright:   MATCH 25,1,,"Press",mouser,nfright
  164. rcup:      MATCH 25,1,,"Press",mouseu,nfup
  165. rcdown:    MATCH 25,1,,"Press",moused,nfdown
  166.  
  167. ; To use the Mouse instead of cursor keys with an unnamed file
  168. nfleft:    MATCH 25,1,,"          ",mousel,blleft
  169. nfright:   MATCH 25,1,,"          ",mouser,blright
  170. nfup:      MATCH 25,1,,"          ",mouseu,blup
  171. nfdown:    MATCH 25,1,,"          ",moused,bldown
  172.  
  173. ; To use the Mouse instead of cursor keys in Block mode
  174. blleft:    MATCH 25,1,,"Block",mousel,mvleft
  175. blright:   MATCH 25,1,,"Block",mouser,mvright
  176. blup:      MATCH 25,1,,"Block",mouseu,mvup
  177. bldown:    MATCH 25,1,,"Block",moused,mvdown
  178.  
  179. ; To use the Mouse instead of cursor keys in Move mode
  180. mvleft:    MATCH 25,1,,"Move",mousel,noleft
  181. mvright:   MATCH 25,1,,"Move",mouser,noright
  182. mvup:      MATCH 25,1,,"Move",mouseu,noup
  183. mvdown:    MATCH 25,1,,"Move",moused,nodown
  184.  
  185. ; To use the Mouse instead of cursor keys in Display mode
  186. nomup:     MATCH 1,1,,"F",mouseu,noup
  187. nomdown:   MATCH 1,1,,"F",moused,nodown
  188.  
  189. ; To use the Mouse instead of cursor keys while viewing the Directory
  190. noleft:    MATCH 2,1,,"D",mousel,nothing
  191. noright:   MATCH 2,1,,"D",mouser,nothing
  192. noup:      MATCH 2,1,,"D",mouseu,nothing
  193. nodown:    MATCH 2,1,,"D",moused,nothing
  194.  
  195. nothing:   NOTHING
  196.  
  197. mousel:    TYPE 0, 75
  198. mouser:    TYPE 0, 77
  199. mouseu:    TYPE 0, 72
  200. moused:    TYPE 0, 80
  201.  
  202.  
  203. ; F1 definitions
  204. cancel:       TYPE 0,59    
  205. thesaurus: TYPE 0,104
  206. setup:       TYPE 0,84
  207. gotodos:   TYPE 0,94
  208.  
  209. ; F2 definitions
  210. Fsearch:   TYPE 0,60
  211. replace:   TYPE 0,105
  212. Bsearch:   TYPE 0,85
  213. spell:     TYPE 0,95
  214.  
  215. ; F3 definitions
  216. help:      TYPE 0,61
  217. recode:    TYPE 0,106
  218. switch:    TYPE 0,86
  219. screen:    TYPE 0,96
  220.  
  221. ; F4 definitions
  222. indent:    TYPE 0,62
  223. block:     TYPE 0,107
  224. indent2:   TYPE 0,87
  225. move:      TYPE 0,97
  226.  
  227. ; F5 definitions
  228. lsfile:    TYPE 0,63
  229. mktext:    TYPE 0,108
  230. date:      TYPE 0,88
  231. textio:    TYPE 0,98
  232.  
  233. ; F6 definitions
  234. bold:      TYPE 0,64
  235. flush:     TYPE 0,109
  236. center:    TYPE 0,89
  237. tab:       TYPE 0,99
  238.  
  239. ; F7 definitions
  240. exit:      TYPE 0,65
  241. math:      TYPE 0,110
  242. print:     TYPE 0,90
  243. footnote:  TYPE 0,100
  244.  
  245. ; F8 definitions
  246. underline: TYPE 0,66
  247. style:     TYPE 0,111
  248. format:    TYPE 0,91
  249. font:      TYPE 0,101
  250.  
  251. ; F9 definitions
  252. mergeR:    TYPE 0,67
  253. graphics:  TYPE 0,112
  254. mergeCd:   TYPE 0,92
  255. mgsort:    TYPE 0,102
  256.  
  257. ; F10 definitions
  258. save:      TYPE 0,68
  259. macro:     TYPE 0,113
  260. retrieve:  TYPE 0,93
  261. macrodef:  TYPE 0,103
  262.  
  263. ; Options definitions
  264. yes:        TYPE "Y"
  265. no:         TYPE "N"
  266. goto:       TYPE 0, 119
  267. hardpage:   TYPE 10
  268. del2eol:    TYPE 0, 117
  269. del2eop:    TYPE 0, 118
  270. relmargin:  TYPE 0, 15
  271. softhyphen: TYPE 31
  272. wordlft:    TYPE 0, 115
  273. wordrt:     TYPE 0, 116
  274.  
  275. ;Number definitions
  276. one:       TYPE "1"
  277. two:       TYPE "2"
  278. three:     TYPE "3"
  279. four:      TYPE "4"
  280. five:      TYPE "5"
  281. six:       TYPE "6"
  282. seven:     TYPE "7"
  283. eight:     TYPE "8"
  284. nine:      TYPE "9"
  285. zero:      TYPE "0"
  286.